﻿'Digite o NameSpace: Babok
'Digite o nome da Classe de dominio: UI

'--TESTE:-----------
'    <TestMethod()> _
'    Public Sub SalvarUI()
'        Dim _UI As UI
'        _UI = New UI
'
'        _UI.Salvar()
'
'        Assert.IsTrue(_UI.Id.HasValue)
'    End Sub
<Serializable()> _
Public Class UI
    Inherits BaseDominio

#Region "Negocio"

    Public Sub New()
        MyBase.New()
    End Sub

    Public Overridable Function Buscar(ByVal _id As Long) As UI
        Return MyBase.UIDao.Buscar(_id)
    End Function

    Public Overridable Sub Salvar()
        MyBase.UIDao.Salvar(Me)
    End Sub

#End Region

End Class
